using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PACKETPARSERMAX20.CORE;

namespace PACKETPARSERMAX20.CORE.DEFINITIONS
{
    public class SMSG_SPELLHEALLOG_DEF : DefinitionBase
    {

        public override bool Process()
        {
            ResetPosition();
            UInt64 VictimGUID = popGuid();
            UInt64 guid = popGuid();
            UInt32 SpellID = ReadUInt32();
            UInt32 Damage = ReadUInt32();
            if (ClientBuild >= 9183)
            {
                UInt32 OverHeal = ReadUInt32();
            }
            if (ClientBuild >= 10314)
            {
                UInt32 unk = ReadUInt32();
            }
            byte critical = ReadByte();
            byte byte_1 = ReadByte();                                       // unused in client?


            
            return Validate();
        }
    }
}

